<?php
require_once 'configuration.php';

//连库

if(!($con = mysql_connect(HOST, USERNAME, PASSWORD))){
		echo mysql_error();
	}	
//选库
if(!mysql_select_db('info')){
		echo mysql_error();
	}
//字符集
if(!mysql_query('set names utf8')){
		echo mysql_error();
	}
?>